{% extends "form.html" %}

{% block form_title %}
	{% if curr_id %}编辑{% else %}增加{% endif %}仓库
{% endblock %}

{% block form %}
    <form id='form_post' class="form" action="{{ url_for('edit_repository',id=curr_id)}}" method="post" name="edit">
      {{form.csrf_token}}
      {{render_field(form.name)}}
      {{render_field(form.remark)}}
    </form>

{% endblock form %}
